import RelativeInfo from "@/components/RelativeInfo"//基本信息
import RelativeFiles from "@/components/RelativeFiles"//附件
import RelativeReview from "@/components/RelativeReview"//评论
import RelativeHandle from "@/components/RelativeHandle"//操作记录
import Sections from "@/components/Sections"

export default {
    components: {
        RelativeInfo,
        RelativeFiles,
        RelativeReview,
        RelativeHandle,
        Sections
    },

    data() {
        return {
            /**详情 */
            detailData: {},
            tabCurrentName: 'RelativeInfo',
        }
    },

    computed: {
        /**tab */
        tabNames() {
            var tempsTabs = []
            tempsTabs.push({
                label: '详细资料',
                name: 'RelativeInfo'
            })
            tempsTabs.push({
                label: "附件",
                name: 'RelativeFiles'
            })
            tempsTabs.push({
                label: '操作记录',
                name: 'RelativeHandle'
            })
            tempsTabs.push({
                label: '评论',
                name: 'RelativeReview'
            })
            return tempsTabs
        },
    }
}